Version

GetProperties(ITypeDescriptorContext,Object,Attribute[]) Method

Gets the properties defined on the specified object.
Syntax
'Declaration
 
Public Overloads Overrides Function GetProperties( _
   ByVal context As ITypeDescriptorContext, _
   ByVal value As Object, _
   ByVal attributes() As Attribute _
) As PropertyDescriptorCollection
public override PropertyDescriptorCollection GetProperties( 
   ITypeDescriptorContext context,
   object value,
   Attribute[] attributes
)

Parameters

context
Provides context information about the value to get the properties from.
value
The object whose properties should be retrieved.
attributes
A collection of attributes to be used as a filter.

Return Value

A System.ComponentModel.PropertyDescriptorCollection containing all property definitions on the value which met the specified criteria.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also